Getting Started with the OnlinePay APIs

Overview

Westpac OnlinePay enables you to securely accept online payments using a range of integration methods, from fully hosted payment experiences to customised browser-based and Server-to-Server API integrations.

This documentation helps you to:

  • Choose the integration method that best suits your business requirements.
  • Configure and authenticate access to OnlinePay APIs.
  • Process payments and manage transactions.
  • Integrate OnlinePay into your website, application, or business processes.

Before you begin

Before integrating with OnlinePay, you'll need an active OnlinePay account and the credentials and configuration values required for your chosen integration method.

Depending on your integration, these may include:

  • API key
  • User ID
  • Entity ID
  • Payment Provider Contract (PPC)
  • 3D Secure Contract

API keys are used to authenticate requests to OnlinePay APIs and allow you to perform actions on behalf of your account.

Other configuration values identify your account, contracts, and services and are used with your API credentials when making requests to OnlinePay.

Choose an integration method

OnlinePay provides several ways to accept payments, ranging from fully hosted payment experiences to direct API integrations.

You can choose from the following:

  • Hosted Payments Page (HPP) for a fully hosted payment experience.
  • iFrame to embed an OnlinePay-hosted payment form within your website.
  • Pay by Link to send payment requests to customers without building a checkout experience.
  • Verifone.js for a customised checkout experience with browser-based card data capture and encryption.
  • Server-to-Server API for direct integration with OnlinePay APIs and greater control over the payment experience.

See Integration methods to compare the available options and their PCI DSS requirements.


Did this page help you?

Terms and conditions Website requirements Other fees and charges

This information is a general statement for information purposes only and should only be used as a guide. While all care has been taken in preparation of this document, no member of the Westpac Group, nor any of their employees or directors gives any warranty of accuracy or reliability nor accepts any liability in any other way, including by reason of negligence for any errors or omissions contained herein, to the extent permitted by law. Unless otherwise specified, the products and services described are available only in Australia.

Visa is a registered trademark of Visa International Service Association. Mastercard® is a registered trademark of Mastercard International Incorporated. American Express® is a registered trademark of American Express. UnionPay is a trademark of UnionPay International Co. Ltd.
Apple, the Apple logo, Apple Pay, Apple Watch and iPhone are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. Google Pay™ is a trademark of Google LLC.
Bluetooth® is a registered trademark owned by Bluetooth SIG, Inc. and use of the mark by Westpac is under license.

© Westpac Banking Corporation ABN 33 007 457 141 AFSL and Australian credit licence 233714.